///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b3)
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#include "noname.h"

///////////////////////////////////////////////////////////////////////////

wxb_mainFrame::wxb_mainFrame( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxDefaultSize, wxDefaultSize );
	this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_MENU ) );

	m_menubar1 = new wxMenuBar( 0 );
	m_menubar1->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_MENU ) );

	m_menu_file = new wxMenu();
	m_menu_file_open = new wxMenu();
	wxMenuItem* m_menu_file_openItem = new wxMenuItem( m_menu_file, wxID_ANY, wxT("Open"), wxEmptyString, wxITEM_NORMAL, m_menu_file_open );
	wxMenuItem* m_menuItem_pdf;
	m_menuItem_pdf = new wxMenuItem( m_menu_file_open, wxID_ANY, wxString( wxT("PDF(*pdf)") ) , wxEmptyString, wxITEM_NORMAL );
	m_menu_file_open->Append( m_menuItem_pdf );

	wxMenuItem* m_menuItem_dir;
	m_menuItem_dir = new wxMenuItem( m_menu_file_open, wxID_ANY, wxString( wxT("Dir(*txt)") ) , wxEmptyString, wxITEM_NORMAL );
	m_menu_file_open->Append( m_menuItem_dir );

	wxMenuItem* m_menuItem_conf;
	m_menuItem_conf = new wxMenuItem( m_menu_file_open, wxID_ANY, wxString( wxT("conf(*.conf)") ) , wxEmptyString, wxITEM_NORMAL );
	m_menu_file_open->Append( m_menuItem_conf );

	m_menu_file->Append( m_menu_file_openItem );

	m_menu_file->AppendSeparator();

	wxMenuItem* m_menuItem_setting;
	m_menuItem_setting = new wxMenuItem( m_menu_file, wxID_ANY, wxString( wxT("Settings") ) , wxEmptyString, wxITEM_NORMAL );
	m_menu_file->Append( m_menuItem_setting );

	m_menubar1->Append( m_menu_file, wxT("File") );

	m_menu_run = new wxMenu();
	wxMenuItem* m_menuItem_formatDir;
	m_menuItem_formatDir = new wxMenuItem( m_menu_run, wxID_ANY, wxString( wxT("Format Dir") ) , wxEmptyString, wxITEM_NORMAL );
	m_menu_run->Append( m_menuItem_formatDir );

	wxMenuItem* m_menuItem_generateDir;
	m_menuItem_generateDir = new wxMenuItem( m_menu_run, wxID_ANY, wxString( wxT("Generate Dir") ) , wxEmptyString, wxITEM_NORMAL );
	m_menu_run->Append( m_menuItem_generateDir );

	m_menu_run->AppendSeparator();

	wxMenuItem* m_menuItem_clear;
	m_menuItem_clear = new wxMenuItem( m_menu_run, wxID_ANY, wxString( wxT("clear screen") ) , wxEmptyString, wxITEM_NORMAL );
	m_menu_run->Append( m_menuItem_clear );

	m_menubar1->Append( m_menu_run, wxT("Run") );

	m_menu_help = new wxMenu();
	wxMenuItem* m_menuItem_about;
	m_menuItem_about = new wxMenuItem( m_menu_help, wxID_ANY, wxString( wxT("About") ) , wxEmptyString, wxITEM_NORMAL );
	m_menu_help->Append( m_menuItem_about );

	m_menubar1->Append( m_menu_help, wxT("Help") );

	this->SetMenuBar( m_menubar1 );

	wxBoxSizer* bSizer1;
	bSizer1 = new wxBoxSizer( wxVERTICAL );

	wxBoxSizer* bSizer2;
	bSizer2 = new wxBoxSizer( wxHORIZONTAL );

	m_staticText_pdfsource = new wxStaticText( this, wxID_ANY, wxT("PDF source"), wxDefaultPosition, wxSize( 80,-1 ), wxALIGN_RIGHT );
	m_staticText_pdfsource->Wrap( -1 );
	m_staticText_pdfsource->SetFont( wxFont( 9, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxT("微软雅黑") ) );

	bSizer2->Add( m_staticText_pdfsource, 0, wxALL, 5 );

	m_textCtrl_pdfsource = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	m_textCtrl_pdfsource->SetFont( wxFont( 9, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false, wxT("微软雅黑") ) );

	bSizer2->Add( m_textCtrl_pdfsource, 1, wxALL, 5 );

	m_bpButton_pdfsource = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );

	m_bpButton_pdfsource->SetBitmap( wxNullBitmap );
	bSizer2->Add( m_bpButton_pdfsource, 0, wxALL, 5 );


	bSizer1->Add( bSizer2, 0, wxEXPAND, 5 );

	wxBoxSizer* bSizer4;
	bSizer4 = new wxBoxSizer( wxHORIZONTAL );

	m_staticText_dirsource = new wxStaticText( this, wxID_ANY, wxT("Dir source"), wxDefaultPosition, wxSize( 80,-1 ), wxALIGN_RIGHT );
	m_staticText_dirsource->Wrap( -1 );
	m_staticText_dirsource->SetFont( wxFont( 9, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxT("微软雅黑") ) );

	bSizer4->Add( m_staticText_dirsource, 0, wxALL, 5 );

	m_textCtrl_dirsource = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	m_textCtrl_dirsource->SetFont( wxFont( 9, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false, wxT("微软雅黑") ) );

	bSizer4->Add( m_textCtrl_dirsource, 1, wxALL, 5 );

	m_bpButton_dirsource = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );

	m_bpButton_dirsource->SetBitmap( wxNullBitmap );
	bSizer4->Add( m_bpButton_dirsource, 0, wxALL, 5 );


	bSizer1->Add( bSizer4, 0, wxEXPAND, 5 );

	wxBoxSizer* bSizer5;
	bSizer5 = new wxBoxSizer( wxHORIZONTAL );


	bSizer5->Add( 60, 0, 0, wxEXPAND, 5 );

	m_checkBox1_adviceOnly = new wxCheckBox( this, wxID_ANY, wxT("print advice only"), wxDefaultPosition, wxDefaultSize, 0 );
	m_checkBox1_adviceOnly->SetValue(true);
	bSizer5->Add( m_checkBox1_adviceOnly, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );


	bSizer5->Add( 10, 0, 0, wxEXPAND, 5 );

	m_checkBox_formatdir = new wxCheckBox( this, wxID_ANY, wxT("format dir first"), wxDefaultPosition, wxDefaultSize, 0 );
	m_checkBox_formatdir->SetValue(true);
	bSizer5->Add( m_checkBox_formatdir, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );


	bSizer5->Add( 0, 0, 1, wxEXPAND, 5 );

	m_button_generateDir = new wxButton( this, wxID_ANY, wxT("Generate Dir"), wxDefaultPosition, wxSize( 100,-1 ), 0 );
	bSizer5->Add( m_button_generateDir, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );


	bSizer5->Add( 50, 0, 0, wxEXPAND, 5 );


	bSizer1->Add( bSizer5, 0, wxEXPAND, 5 );

	m_richText_screen = new wxRichTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY|wxVSCROLL|wxHSCROLL|wxNO_BORDER|wxWANTS_CHARS );
	m_richText_screen->SetFont( wxFont( 9, wxFONTFAMILY_MODERN, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false, wxT("YaHei Consolas Hybrid") ) );
	m_richText_screen->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW ) );

	bSizer1->Add( m_richText_screen, 1, wxALL|wxEXPAND, 9 );


	this->SetSizer( bSizer1 );
	this->Layout();
	m_statusBar1 = this->CreateStatusBar( 1, wxSTB_SIZEGRIP, wxID_ANY );

	this->Centre( wxBOTH );

	// Connect Events
	m_menu_file_open->Bind(wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( wxb_mainFrame::OnSelectPDF ), this, m_menuItem_pdf->GetId());
	m_menu_file_open->Bind(wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( wxb_mainFrame::OnSeletcDir ), this, m_menuItem_dir->GetId());
	m_menu_file_open->Bind(wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( wxb_mainFrame::OnSelectConf ), this, m_menuItem_conf->GetId());
	m_menu_file->Bind(wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( wxb_mainFrame::OnClickSettings ), this, m_menuItem_setting->GetId());
	m_menu_run->Bind(wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( wxb_mainFrame::OnFormatDir ), this, m_menuItem_formatDir->GetId());
	m_menu_run->Bind(wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( wxb_mainFrame::OnGenerateDir ), this, m_menuItem_generateDir->GetId());
	m_menu_run->Bind(wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( wxb_mainFrame::OnClearScreen ), this, m_menuItem_clear->GetId());
	m_menu_help->Bind(wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler( wxb_mainFrame::OnClickAbout ), this, m_menuItem_about->GetId());
	m_textCtrl_pdfsource->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( wxb_mainFrame::OnTCchangePDFSource ), NULL, this );
	m_bpButton_pdfsource->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( wxb_mainFrame::OnbpSelectPDF ), NULL, this );
	m_textCtrl_dirsource->Connect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( wxb_mainFrame::OnTCchangeDirSource ), NULL, this );
	m_bpButton_dirsource->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( wxb_mainFrame::OnbpSelectDir ), NULL, this );
	m_checkBox1_adviceOnly->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( wxb_mainFrame::OnSelectAdviceOnly ), NULL, this );
	m_checkBox_formatdir->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( wxb_mainFrame::OnSelectFormatFirst ), NULL, this );
	m_button_generateDir->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( wxb_mainFrame::OnBTGenerateDir ), NULL, this );
}

wxb_mainFrame::~wxb_mainFrame()
{
	// Disconnect Events
	m_textCtrl_pdfsource->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( wxb_mainFrame::OnTCchangePDFSource ), NULL, this );
	m_bpButton_pdfsource->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( wxb_mainFrame::OnbpSelectPDF ), NULL, this );
	m_textCtrl_dirsource->Disconnect( wxEVT_COMMAND_TEXT_UPDATED, wxCommandEventHandler( wxb_mainFrame::OnTCchangeDirSource ), NULL, this );
	m_bpButton_dirsource->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( wxb_mainFrame::OnbpSelectDir ), NULL, this );
	m_checkBox1_adviceOnly->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( wxb_mainFrame::OnSelectAdviceOnly ), NULL, this );
	m_checkBox_formatdir->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( wxb_mainFrame::OnSelectFormatFirst ), NULL, this );
	m_button_generateDir->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( wxb_mainFrame::OnBTGenerateDir ), NULL, this );

}

wxb_settingsDialog::wxb_settingsDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxDefaultSize, wxDefaultSize );

	wxBoxSizer* bSizer6;
	bSizer6 = new wxBoxSizer( wxVERTICAL );

	wxGridSizer* gSizer3;
	gSizer3 = new wxGridSizer( 0, 2, 0, 2 );

	wxBoxSizer* bSizer21;
	bSizer21 = new wxBoxSizer( wxHORIZONTAL );

	m_staticText_offset = new wxStaticText( this, wxID_ANY, wxT("*Offset"), wxDefaultPosition, wxSize( 100,-1 ), wxALIGN_RIGHT );
	m_staticText_offset->Wrap( -1 );
	bSizer21->Add( m_staticText_offset, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );

	m_textCtrl_offset = new wxTextCtrl( this, wxID_ANY, wxT("0"), wxDefaultPosition, wxDefaultSize, 0 );
	m_textCtrl_offset->SetFont( wxFont( 9, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, true, wxT("微软雅黑") ) );
	m_textCtrl_offset->SetForegroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_HIGHLIGHT ) );
	m_textCtrl_offset->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW ) );
	m_textCtrl_offset->SetToolTip( wxT("页数偏移量，通常是PDF最后一个目录页的页数") );

	bSizer21->Add( m_textCtrl_offset, 4, wxALL|wxALIGN_CENTER_VERTICAL, 5 );


	gSizer3->Add( bSizer21, 1, wxEXPAND, 5 );

	wxBoxSizer* bSizer23;
	bSizer23 = new wxBoxSizer( wxHORIZONTAL );

	m_staticText_prefix = new wxStaticText( this, wxID_ANY, wxT("*Prefix"), wxDefaultPosition, wxSize( 80,-1 ), wxALIGN_RIGHT );
	m_staticText_prefix->Wrap( -1 );
	bSizer23->Add( m_staticText_prefix, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5 );

	m_textCtrl_prefix = new wxTextCtrl( this, wxID_ANY, wxT("\\t"), wxDefaultPosition, wxDefaultSize, 0 );
	m_textCtrl_prefix->SetFont( wxFont( 9, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, true, wxT("微软雅黑") ) );
	m_textCtrl_prefix->SetForegroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_HIGHLIGHT ) );
	m_textCtrl_prefix->SetToolTip( wxT("目录文件每行的前缀，用于判断书签级别") );

	bSizer23->Add( m_textCtrl_prefix, 4, wxALL, 5 );


	gSizer3->Add( bSizer23, 1, wxEXPAND, 5 );

	wxBoxSizer* bSizer24;
	bSizer24 = new wxBoxSizer( wxHORIZONTAL );

	m_staticText_delimiter = new wxStaticText( this, wxID_ANY, wxT("*Delimiter"), wxDefaultPosition, wxSize( 100,-1 ), wxALIGN_RIGHT );
	m_staticText_delimiter->Wrap( -1 );
	bSizer24->Add( m_staticText_delimiter, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );

	m_textCtrl_delimiter = new wxTextCtrl( this, wxID_ANY, wxT("  "), wxDefaultPosition, wxDefaultSize, 0 );
	m_textCtrl_delimiter->SetFont( wxFont( 9, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, true, wxT("微软雅黑") ) );
	m_textCtrl_delimiter->SetForegroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_HIGHLIGHT ) );
	m_textCtrl_delimiter->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW ) );
	m_textCtrl_delimiter->SetToolTip( wxT("分割符，通常是空格") );

	bSizer24->Add( m_textCtrl_delimiter, 4, wxALL, 5 );


	gSizer3->Add( bSizer24, 1, wxEXPAND, 5 );

	wxBoxSizer* bSizer25;
	bSizer25 = new wxBoxSizer( wxHORIZONTAL );

	m_staticText_levelmarker = new wxStaticText( this, wxID_ANY, wxT("*Level-marker"), wxDefaultPosition, wxSize( 80,-1 ), wxALIGN_RIGHT );
	m_staticText_levelmarker->Wrap( -1 );
	bSizer25->Add( m_staticText_levelmarker, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );

	m_textCtrl_levelmarker = new wxTextCtrl( this, wxID_ANY, wxT("."), wxDefaultPosition, wxDefaultSize, 0 );
	m_textCtrl_levelmarker->SetFont( wxFont( 9, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, true, wxT("微软雅黑") ) );
	m_textCtrl_levelmarker->SetForegroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_HIGHLIGHT ) );
	m_textCtrl_levelmarker->SetToolTip( wxT("级别标志符, 通常是 .") );

	bSizer25->Add( m_textCtrl_levelmarker, 4, wxALL, 5 );


	gSizer3->Add( bSizer25, 1, wxEXPAND, 5 );


	bSizer6->Add( gSizer3, 0, wxEXPAND, 5 );

	wxBoxSizer* bSizer14;
	bSizer14 = new wxBoxSizer( wxHORIZONTAL );

	m_staticText_prelevel = new wxStaticText( this, wxID_ANY, wxT("Pre-level"), wxDefaultPosition, wxSize( 100,-1 ), wxALIGN_RIGHT );
	m_staticText_prelevel->Wrap( -1 );
	bSizer14->Add( m_staticText_prelevel, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );

	wxString m_choice_prelevelChoices[] = { wxT("1"), wxT("2"), wxT("3"), wxT("4") };
	int m_choice_prelevelNChoices = sizeof( m_choice_prelevelChoices ) / sizeof( wxString );
	m_choice_prelevel = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choice_prelevelNChoices, m_choice_prelevelChoices, 0 );
	m_choice_prelevel->SetSelection( 1 );
	bSizer14->Add( m_choice_prelevel, 0, wxALL, 5 );


	bSizer6->Add( bSizer14, 0, wxEXPAND, 5 );

	wxBoxSizer* bSizer15;
	bSizer15 = new wxBoxSizer( wxHORIZONTAL );

	m_staticText_pretitle = new wxStaticText( this, wxID_ANY, wxT("Pre-title"), wxDefaultPosition, wxSize( 100,-1 ), wxALIGN_RIGHT );
	m_staticText_pretitle->Wrap( -1 );
	bSizer15->Add( m_staticText_pretitle, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );

	m_textCtrl_pretitle = new wxTextCtrl( this, wxID_ANY, wxT("本章小结;习题"), wxDefaultPosition, wxDefaultSize, 0 );
	m_textCtrl_pretitle->SetToolTip( wxT("; 隔开, 注意不要出现Delimiter") );

	bSizer15->Add( m_textCtrl_pretitle, 1, wxALL, 5 );


	bSizer6->Add( bSizer15, 0, wxEXPAND, 5 );

	wxBoxSizer* bSizer16;
	bSizer16 = new wxBoxSizer( wxHORIZONTAL );

	m_staticText_pdfoutputpath = new wxStaticText( this, wxID_ANY, wxT("PDF output path"), wxDefaultPosition, wxSize( 100,-1 ), wxALIGN_RIGHT );
	m_staticText_pdfoutputpath->Wrap( -1 );
	bSizer16->Add( m_staticText_pdfoutputpath, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );

	m_textCtrl_pdfoutputpath = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	m_textCtrl_pdfoutputpath->SetToolTip( wxT("若为空则自动生成") );

	bSizer16->Add( m_textCtrl_pdfoutputpath, 1, wxALL, 5 );


	bSizer6->Add( bSizer16, 1, wxEXPAND, 5 );

	wxBoxSizer* bSizer17;
	bSizer17 = new wxBoxSizer( wxHORIZONTAL );

	m_staticText_dirlogpath = new wxStaticText( this, wxID_ANY, wxT("Dir-log path"), wxDefaultPosition, wxSize( 100,-1 ), wxALIGN_RIGHT );
	m_staticText_dirlogpath->Wrap( -1 );
	bSizer17->Add( m_staticText_dirlogpath, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );

	m_textCtrl_dirlogpath = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	m_textCtrl_dirlogpath->SetToolTip( wxT("dir-log输出文件夹，默认即可") );

	bSizer17->Add( m_textCtrl_dirlogpath, 1, wxALL, 5 );

	m_bitmap_dirlogpath = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
	bSizer17->Add( m_bitmap_dirlogpath, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );


	bSizer6->Add( bSizer17, 1, wxEXPAND, 5 );

	wxBoxSizer* bSizer18;
	bSizer18 = new wxBoxSizer( wxHORIZONTAL );

	m_staticText_dirformatpath = new wxStaticText( this, wxID_ANY, wxT("Dir-format path"), wxDefaultPosition, wxSize( 100,-1 ), wxALIGN_RIGHT );
	m_staticText_dirformatpath->Wrap( -1 );
	bSizer18->Add( m_staticText_dirformatpath, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );

	m_textCtrl_formatpath = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	m_textCtrl_formatpath->SetToolTip( wxT("格式化目录的输出文件夹，默认即可") );

	bSizer18->Add( m_textCtrl_formatpath, 1, wxALL|wxEXPAND, 5 );

	m_bitmap_dirformatpath = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
	bSizer18->Add( m_bitmap_dirformatpath, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );


	bSizer6->Add( bSizer18, 1, wxEXPAND, 5 );

	wxBoxSizer* bSizer19;
	bSizer19 = new wxBoxSizer( wxHORIZONTAL );

	m_checkBox_adviceOnly = new wxCheckBox( this, wxID_ANY, wxT("print advice only"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizer19->Add( m_checkBox_adviceOnly, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );

	m_checkBox_formatfirst = new wxCheckBox( this, wxID_ANY, wxT("format dir first"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizer19->Add( m_checkBox_formatfirst, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );


	bSizer6->Add( bSizer19, 1, wxEXPAND, 5 );

	wxGridSizer* gSizer2;
	gSizer2 = new wxGridSizer( 0, 2, 0, 0 );

	m_button_reset = new wxButton( this, wxID_ANY, wxT("reset"), wxDefaultPosition, wxDefaultSize, 0 );
	gSizer2->Add( m_button_reset, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );

	m_button_finish = new wxButton( this, wxID_ANY, wxT("finish"), wxDefaultPosition, wxDefaultSize, 0 );
	gSizer2->Add( m_button_finish, 0, wxALL|wxALIGN_CENTER_HORIZONTAL, 5 );


	bSizer6->Add( gSizer2, 1, wxEXPAND, 5 );


	this->SetSizer( bSizer6 );
	this->Layout();

	this->Centre( wxBOTH );
}

wxb_settingsDialog::~wxb_settingsDialog()
{
}
